-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.d.ts
More file actions
28 lines (25 loc) · 843 Bytes
/
index.d.ts
File metadata and controls
28 lines (25 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*!
* is-utorid <https://github.com/utmgdsc/is-utorid>
*
* Copyright (c) 2023-present, GDSC UTM and contributors
* Released under the MIT License.
*/
'use strict';
/**
* Check if a string is a valid UofT utorid.
* @param {string} str
* @returns {boolean} true if the string is a valid UofT utorid, false otherwise.
*/
export function isUTORid (str: string): boolean;
/**
* Check if a string is a UofT email.
* @param {string} str
* @returns {boolean} true if the string is a valid UofT email, false otherwise.
*/
export function isUofTEmail (str: string): boolean;
/**
* Check if a string is a valid UofT student number.
* @param {string} str
* @returns {boolean} true if the string is a valid UofT student number, false otherwise.
*/
export function isUofTStudentNumber (str: string): boolean;