xdbc 1.0.112 → 1.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DBC/DEFINED.js +1 -1
- package/dist/DBC/INSTANCE.js +1 -1
- package/package.json +1 -1
- package/src/DBC/DEFINED.ts +1 -1
- package/src/DBC/INSTANCE.ts +1 -1
package/dist/DBC/DEFINED.js
CHANGED
|
@@ -84,7 +84,7 @@ export class DEFINED extends DBC {
|
|
|
84
84
|
* @throws A {@link DBC.Infringement } if the **CANDIDATE** **toCheck** does not fulfill this {@link DEFINED }.*/
|
|
85
85
|
static tsCheck(toCheck) {
|
|
86
86
|
const result = DEFINED.checkAlgorithm(toCheck);
|
|
87
|
-
if (result) {
|
|
87
|
+
if (result === true) {
|
|
88
88
|
return toCheck;
|
|
89
89
|
}
|
|
90
90
|
else {
|
package/dist/DBC/INSTANCE.js
CHANGED
|
@@ -91,7 +91,7 @@ export class INSTANCE extends DBC {
|
|
|
91
91
|
* @throws A {@link DBC.Infringement } if the **CANDIDATE** **toCheck** does not fulfill this {@link DEFINED }. */
|
|
92
92
|
static tsCheck(toCheck, reference) {
|
|
93
93
|
const result = INSTANCE.checkAlgorithm(toCheck, reference);
|
|
94
|
-
if (result) {
|
|
94
|
+
if (result === true) {
|
|
95
95
|
return toCheck;
|
|
96
96
|
}
|
|
97
97
|
else {
|
package/package.json
CHANGED
package/src/DBC/DEFINED.ts
CHANGED
|
@@ -118,7 +118,7 @@ export class DEFINED extends DBC {
|
|
|
118
118
|
public static tsCheck<CANDIDATE>( toCheck : CANDIDATE | undefined | null ) : CANDIDATE {
|
|
119
119
|
const result = DEFINED.checkAlgorithm(toCheck );
|
|
120
120
|
|
|
121
|
-
if( result ) {
|
|
121
|
+
if( result === true ) {
|
|
122
122
|
return toCheck as CANDIDATE ;
|
|
123
123
|
}
|
|
124
124
|
else {
|
package/src/DBC/INSTANCE.ts
CHANGED
|
@@ -123,7 +123,7 @@ export class INSTANCE extends DBC {
|
|
|
123
123
|
public static tsCheck < CANDIDATE > ( toCheck : any, reference : any ) : CANDIDATE {
|
|
124
124
|
const result = INSTANCE.checkAlgorithm(toCheck, reference);
|
|
125
125
|
|
|
126
|
-
if( result ) {
|
|
126
|
+
if( result === true ) {
|
|
127
127
|
return toCheck ;
|
|
128
128
|
}
|
|
129
129
|
else {
|