RPG Dice RollerRPG Dice Roller
Home
Guide
API
  • Contributing
  • Code of Conduct
GitHub
Home
Guide
API
  • Contributing
  • Code of Conduct
GitHub
  • API

    • Introduction
    • ComparePoint
    • Description
    • DiceRoll
    • DiceRoller
    • RollGroup
  • dice

    • FudgeDice
    • PercentileDice
    • StandardDice
  • exceptions

    • CompareOperatorError
    • DataFormatError
    • DieActionValueError
    • NotationError
    • RequiredArgumentError
  • modifiers

    • ComparisonModifier
    • CriticalFailureModifier
    • CriticalSuccessModifier
    • DropModifier
    • ExplodeModifier
    • KeepModifier
    • MaxModifier
    • MinModifier
    • Modifier
    • ReRollModifier
    • SortingModifier
    • TargetModifier
    • UniqueModifier
    • modifier-flags
  • parser

    • Parser
  • results

    • ResultGroup
    • RollResult
    • RollResults
  • traits

    • HasDescription
  • utilities

    • ExportFormats
    • NumberGenerator
    • math
    • utils

utils

Functions

isBase64(val) ⇒ boolean

Check if the value is a valid base64 encoded string.

isJson(val) ⇒ boolean

Check if the value is a valid JSON encoded string.

isBase64(val) ⇒ boolean

Check if the value is a valid base64 encoded string.

Kind: global function
Returns: boolean - true if it is valid base64 encoded, false otherwise

ParamType
valstring

isJson(val) ⇒ boolean

Check if the value is a valid JSON encoded string.

Kind: global function
Returns: boolean - true if the value is valid JSON, false otherwise

ParamType
valstring
Edit this page
Last Updated: 07/02/2026, 21:45
Prev
math