GoLang Ds\Stack::capacity

request it (278)
GoLang replacement for PHP's Ds\Stack::capacity [edit | history]



Do you know a GoLang replacement for PHP's Ds\Stack::capacity? Write it!

PHP Ds\Stack::capacity

PHP original manual for Ds\Stack::capacity [ show | php.net ]

Ds\Stack::capacity

(PECL ds >= 1.0.0)

Ds\Stack::capacityReturns the current capacity

Description

public int Ds\Stack::capacity ( void )

Returns the current capacity.

Parameters

This function has no parameters.

Return Values

The current capacity.