Preparing search index...
The search index is not available
OPD-libs
OPD-libs
@opd-libs/opd-utils-lib
mod
Function mod
mod
(
n
:
number
, m
:
number
)
:
number
Mathematically correct modulo.
Returns
n % m
always in the range
0..m-1
Parameters
n:
number
m:
number
Returns
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
OPD-
libs
@opd-
libs/opd-
metadata-
lib
@opd-
libs/opd-
utils-
lib
opd-
settings-
lib
OPDSettings
Lib
Version
Enclosing
Pair
OPDUtils
Object
Traversal
Error
OPDUtils
Parsing
Error
Parser
Utils
Key
Value
Pair
array
Equals
clamp
equal
Or
Includes
get
File
Name
is
Falsy
is
Path
is
Truthy
mod
number
To
String
parse
Path
remove
File
Extension
traverse
Object
traverse
Object
By
Path
traverse
Object
To
Parent
validate
Path
Generated using
TypeDoc
Mathematically correct modulo.
Returns
n % m
always in the range0..m-1