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

    Variable isNumericInteger

    isNumericInteger: <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 integer (ie not 12.001 but 12.00 is allowed)

        Type Parameters

        Parameters

        Returns value is Type

        const number_to_test_int = 22.000
        isNumericInteger(number_to_test_int)
        => true