@snailicide/g-library
    Preparing search index...

    Variable isNumericFloat

    isNumericFloat: <Type extends Numeric>(value: Type) => value is Type

    Type declaration

      • <Type extends Numeric>(value: Type): value is Type
      • Guard function to determine if value is an exact float (ie not 12 or 12.00)

        Type Parameters

        Parameters

        Returns value is Type

        const number_to_test = 22.25
        isNonInteger(number_to_test)
        => true