Skip to main content
Module

std/node/internal/validators.mjs

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.177.0/node/internal/validators.mjs";

Functions

Parse and validate values that will be converted into mode_t (the S_* constants). Only valid numbers and octal strings are allowed. They could be converted to 32-bit unsigned integers or non-negative signed integers in the C++ land, but any value higher than 0o777 will result in platform-specific behaviors.