src/Database/Migration/Schema/Grammar.php
/**
	 * Returns true if the column type is numeric.
	 *
	 * @param string $type
	 * @return bool
	 */
Returns true if the column type is numeric.
@param string $type
@return bool
Returns true if the column type is numeric . @param string $type @return bool
public static function isNumeric($type) {
		foreach (static::getColumns() as $category => $columns) {
			foreach ($columns as $columnType) {
				if ($columnType === $type) {
					return $category == 'numeric';
				}
			}
		}
		return false;
	}
public static function isNumeric ( $ type ) { foreach ( static :: getColumns ( ) as $ category => $ columns ) { foreach ( $ columns as $ columnType ) { if ( $ columnType === $ type ) { return $ category == 'numeric' ; } } } return false ; }
Returns true if the column type is numeric.
Returns true if the column type is numeric .