Sanitizer

Sanitizer is used by the views to sanitize potentially dangerous values.

abstract class Sanitizer { abstract sanitize(context: SecurityContext, value: {...}): string | null }

方法

abstract sanitize(context: SecurityContext, value: { } | string | null): string | null

参数

context

Type: SecurityContext.

value

Type: { } | string | null.

返回值

string | null